home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6454 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  964 b 

  1. Path: strauss.udel.edu!not-for-mail
  2. From: jcorig@strauss.udel.edu (John Pat Corigliano)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Datatypes and Pens
  5. Date: 28 Mar 1996 02:32:44 -0500
  6. Organization: University of Delaware
  7. Message-ID: <4jdfas$hes@strauss.udel.edu>
  8. NNTP-Posting-Host: strauss.udel.edu
  9.  
  10. Is there a way to use datatypes to open and remap a picture file, and
  11. then delete the datatype object but keep the pens it allocated when
  12. it remapped the picture?  What I want is to open a picture file and blit
  13. it to a Window on the WB screen.  Obviously, once it is blitted to the
  14. window, there is no need to keep the datatype in memory.  However, if
  15. I delete the datatype, its pens are freed as well.
  16.  
  17. TIA,
  18. -- 
  19. John Corigliano                                  jcorig@strauss.udel.edu
  20. Computer and Information Science                  University of Delaware
  21. MoppSoft - http://www.del.net/users/mopp
  22.           "Never drive a car when you're dead."  - Tom Waits
  23.